<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>权限角色</title>

    <!-- Bootstrap core CSS -->
    <link href="/ums/deps/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="/ums/deps/bootstrap/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/ums/style/total.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]>
    <script src="/ums/deps/bootstrap/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/ums/deps/bootstrap/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/ums/deps/bootstrap/js/html5shiv.min.js"></script>
    <script src="/ums/deps/bootstrap/js/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<div class="main-container">
    <div class="inner-container">
        <div class="row">
            <div class="col-sm-12">
                <div style="margin-bottom: 10px">
                    <div class="btn btn-primary btn-sm" data-toggle="modal" data-target="#dlg_new">新建
                    </div>
                    <div class="btn_forsingle btn btn-primary btn-sm" disabled="disabled" data-target="#dlg_modify">编辑
                    </div>
                    <div class="btn_forany btn btn-danger btn-sm " disabled="disabled" data-target="#dlg_del_confirm">
                        删除
                    </div>
                    <div class="btn_forsingle btn btn-primary btn-sm act_showdlg_setpageres" disabled="disabled"
                         data-target="#dlg_edit_pageres">配置资源
                    </div>
                </div>
                <div class="data_tables "></div>
            </div>
        </div>
    </div>
</div>

<div class="modal" tabindex="-1" role="dialog" id="dlg_new">
    <div class="modal-dialog " role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">新建角色</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label>角色名称(*必填)</label>
                    <input type="text" class="form-control input-sm form_data bitian"
                           placeholder="角色名称"
                           para_name="role_name">
                </div>
                <div class="form-group">
                    <label>角色代号(*必填)</label>
                    <input type="text" class="form-control input-sm form_data bitian"
                           placeholder="角色代号"
                           para_name="role_code">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary act_save">保存</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<div class="modal" tabindex="-1" role="dialog" id="dlg_modify">
    <div class="modal-dialog " role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">编辑角色</h4>
            </div>
            <div class="modal-body">
                <div class="form-group hidden">
                    <label>id(*必填)</label>
                    <input type="text" class="form-control input-sm form_data bitian"
                           placeholder="id"
                           para_name="id">
                </div>
                <div class="form-group">
                    <label>角色名称(*必填)</label>
                    <input type="text" class="form-control input-sm form_data bitian"
                           placeholder="角色名称"
                           para_name="role_name">
                </div>
                <div class="form-group">
                    <label>角色代号(*必填)</label>
                    <input type="text" class="form-control input-sm form_data bitian"
                           placeholder="角色代号"
                           para_name="role_code">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary act_update">保存</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<div class="modal" tabindex="-1" role="dialog" id="dlg_edit_pageres">
    <div class="modal-dialog " role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">配置资源权限</h4>
            </div>
            <div class="modal-body" style="height: 500px;overflow-y: auto">
                <div class="data_tree "></div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary act_update_pageres">保存</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/ums/deps/jquery/jquery-3.1.0.min.js"></script>
<script>window.jQuery || document.write('<script src="/ums/deps/jquery/jquery-3.1.0.min.js"><\/script>')</script>
<script src="/ums/deps/bootstrap/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="/ums/deps/bootstrap/js/ie10-viewport-bug-workaround.js"></script>
<script src="/ums/deps/DataTables/datatables.min.js"></script>
<script src="/ums/deps/messenger/js/messenger.min.js"></script>
<script src="/ums/deps/messenger/js/messenger-theme-flat.js"></script>
<script src="/ums/deps/jstree/dist/jstree.min.js"></script>
<script src="/ums/libs/utils.js"></script>
<script src="/ums/libs/tableHelper.js"></script>
<script src="role_list.js"></script>
<script>

</script>
</body>
</html>